[#escape x as x?html]
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>客户驾驶员编辑</title>
[#include "/include/jsvalidation.ftl"]
[#include "/include/main.ftl"]
    <script>
        $(function() {
            $("#CustomerDriverEdit").tabs();
        });

    </script>
</head>
<body>
<div class="ui-widget page">
[#include '/top.ftl']

    <div class="content">
    [#include '/leftNav.ftl']
        <div style="width:845px;height:600px;float: left;padding-left: 5px">
            <div class="ui-widget-content ui-corner-all" style="min-height: 600px;">
                <form name="mainForm" method="post" action="" onsubmit="if (va.validate()) formSubmit(this);else return false;">
<INPUT TYPE="hidden" NAME="sn" VALUE="${obj.CustomerDriverObj.sn?default('')}">

                    【<a href="/list">返回客户驾驶员列表</a>】
                    <div id="CustomerDriverEdit" style="width:830px">

                        <ul style="border-bottom:#aed0ea 1px solid;">
                            <li><a href="CustomerDriver_base">基本资料</a></li>

                        </ul>
                        <div id="CustomerDriver_base">
<p>
客户主键  <input type="text"  size="20" id="mainSn" name="mainSn" class="required max-length-40 ">
(必填)
<script>$("#mainSn").val("${(obj.CustomerDriverObj.mainSn)?default('')}");</script>
 </p>
<p>
姓名  <input type="text"  size="20" id="name" name="name" class="max-length-40 ">

<script>$("#name").val("${(obj.CustomerDriverObj.name)?default('')}");</script>
 </p>
<p>
性别  <input type="text"  size="20" id="sex" name="sex" class="max-length-40 ">

<script>$("#sex").val("${(obj.CustomerDriverObj.sex)?default('')}");</script>
 </p>
<p>
国籍  <input type="text"  size="20" id="country" name="country" class="max-length-40 ">

<script>$("#country").val("${(obj.CustomerDriverObj.country)?default('')}");</script>
 </p>
<p>
住址  <input type="text"  size="20" id="address" name="address" class="max-length-200 ">

<script>$("#address").val("${(obj.CustomerDriverObj.address)?default('')}");</script>
 </p>
<p>
证号  <input type="text"  size="20" id="cardNo" name="cardNo" class="max-length-40 ">

<script>$("#cardNo").val("${(obj.CustomerDriverObj.cardNo)?default('')}");</script>
 </p>
<p>
出生日期  <input type="text"  size="20" id="birthDay" name="birthDay" class="validate-date-yyyy-MM-dd" onClick="popCalendar(this)" >

<script>$("#birthDay").val("${(obj.CustomerDriverObj.birthDay?string('yyyy-MM-dd'))?default('')}");</script>
 </p>
<p>
初次领证时间  <input type="text"  size="20" id="firstCardDate" name="firstCardDate" class="validate-date-yyyy-MM-dd" onClick="popCalendar(this)" >

<script>$("#firstCardDate").val("${(obj.CustomerDriverObj.firstCardDate?string('yyyy-MM-dd'))?default('')}");</script>
 </p>
<p>
准驾车型  <input type="text"  size="20" id="quasiDriving" name="quasiDriving" class="max-length-10 ">

<script>$("#quasiDriving").val("${(obj.CustomerDriverObj.quasiDriving)?default('')}");</script>
 </p>
<p>
有效起始日期  <input type="text"  size="20" id="validBeginDate" name="validBeginDate" class="validate-date-yyyy-MM-dd" onClick="popCalendar(this)" >

<script>$("#validBeginDate").val("${(obj.CustomerDriverObj.validBeginDate?string('yyyy-MM-dd'))?default('')}");</script>
 </p>
<p>
有效期限  <input type="text"  size="20" id="validDate" name="validDate" class="validate-date-yyyy-MM-dd" onClick="popCalendar(this)" >

<script>$("#validDate").val("${(obj.CustomerDriverObj.validDate?string('yyyy-MM-dd'))?default('')}");</script>
 </p>


                        </div>

                </form>
                <script>
                  va = new Validation('mainForm');
                </script>
            </div>

        </div>
    </div>

[#include '/bottom.ftl']
</div>
</body>
</html>
[/#escape]
